﻿namespace ZOIL.DataModel
{
    public enum Direction
    {
        SourceToTarget,
        TargetToSource,
        Both
    }

    public class DirectionalLink : LinkBase
    {
        public Direction Direction { get; set; }

        #region ctor
        public DirectionalLink()
        {
            
        }
        public DirectionalLink(IPersistable source, IPersistable target, Direction direction)
        {
            Node1 = source;
            Node2 = target;
            Direction = direction;
        }

        #endregion
    }
}
